package cn.tedu.spring.auto;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestUserCache {
    public static void main(String[] args) {
        ApplicationContext context= new AnnotationConfigApplicationContext
                ("cn.tedu.spring.auto");

        UsrtCache usrtCache = context.getBean(UsrtCache.class);
        System.out.println(usrtCache);
    }
}
